package com.dream.xiaobo.service;

import com.dream.xiaobo.entity.User;

import java.sql.SQLException;

/**
 * @author xiaobo
 * @date 2021/9/4 - 13:30
 */
public interface AdminService {

    /**
     * 判断登录接口
     * @param username
     * @param password
     * @return
     * @throws SQLException
     */
    User selectAdminByName(String username,String password) throws SQLException;
}
